define(['knockout','../shell'], function(ko,parentShell) {
	// child shell :app-cms/system/doc-mamage/shell
	var router = parentShell.router;
	var childRouter = router.createChildRouter()
		.makeRelative({
			moduleId: 'app-cms/system/doc-mamage',
			fromParent: true//,
			//dynamicHash:':id'
		}).map([
			{route: ['','icon-type'],moduleId: 'template/index',title: '图标类型',nav: true},
			{route: 'file-type',moduleId: 'template/index',title: '文件类型',nav: true},
			{route: 'file-template',moduleId: 'template/index',title: '文件模板',nav: true},
			{route: 'file-permission-relation',moduleId: 'template/index',title: '文件权限关系',nav: true},
			{route: 'permission-type',moduleId: 'template/index',title: '权限类型',nav: true},
			{route: 'lock-manage',moduleId: 'template/index',title: '锁定管理',nav: true},
			{route: 'deleted-file',moduleId: 'template/index',title: '已删除文件',nav: true},
			{route: 'subscribe-manage',moduleId: 'template/index',title: '订阅管理',nav: true},
			{route: 'share-manage',moduleId: 'template/index',title: '共享管理',nav: true},
			{route: 'notice-manage',moduleId: 'template/index',title: '通知管理',nav: true},
			{route: 'outpublish-manage',moduleId: 'template/index',title: '外发管理',nav: true},
			{route: 'security-management',moduleId: 'template/index',title: '密级管理',nav: true},
		]).buildNavigationModel();
	return {
		router: childRouter,
		activate:function (...rest) {
			debugger;
		}
	}
})